{css href="/static/index/css/style.css" /}
{layout name="layout"}
<div class="content">
    <!--    大图-->
    <div class="index_top_index">
        <div>
            <h1>护蕾行动</h1>
            <h2>一家专注于当代大学生性教育的网站</h2>
        </div>
    </div>
    {include file='public/nav'}
<!--    nav-->
    <div class=" container">
        <div class="row">
            <div class="col-md-4">
                <div class="heading">
                    <img src="/static/index/image/mark.png" alt="">
                    <span>性与健康</span>
                    <a href="/list/1">
                        <span style="color: darkslategrey; font-size: 15px; float: right"> <b>MORE</b></span>
                    </a>
                </div>
                {volist name="articles1" id="article"}
                <a href="/details/{$article.article_id}">
                <div class="index_detail">
                    <div class="row">
                        <div class="col-md-7">

                                    <span style="float: left;
                                    font-size: 20px;
                                    padding: 8px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    text-overflow:ellipsis;
                                    width: 100%;
                                    ">
                                        {$article.article_name}
                                    </span>

                        </div>
                        <div class="col-md-5">
                            <span style="float: right; padding: 10px; color: grey">{$article.article_create_time|substr=0,7}</span>
                        </div>
                    </div>
                    <div class="row"
                         style="font-size: 14px;
                                    padding: 15px;
                                    color: grey;
                                    display: block;
                                    height: 100px;
                                    overflow: hidden;">
                        <p class="article_content_text_val">
                            {$article.article_content_text}
                        </p>
                    </div>
                </div>
                </a>
                {/volist}



            </div>
            <div class="col-md-4">
                <div class="heading">
                    <img src="/static/index/image/mark.png" alt="">
                    <span>法律法规</span>
                    <a href="/list/2">
                        <span style="color: darkslategrey; font-size: 16px; float: right"> <b>MORE</b></span>
                    </a>
                </div>


                {volist name="articles2" id="article"}
                <a href="/details/{$article.article_id}">
                <div class="index_detail">
                    <div class="row">
                        <div class="col-md-7">

                                    <span style="float: left;
                                    font-size: 20px;
                                    padding: 8px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    text-overflow:ellipsis;
                                    width: 100%;
                                    ">
                                        {$article.article_name}
                                    </span>

                        </div>
                        <div class="col-md-5">
                            <span style="float: right; padding: 10px; color: grey">{$article.article_create_time|substr=0,7}</span>
                        </div>
                    </div>
                    <div class="row"
                         style="font-size: 14px;
                                    padding: 15px;
                                    color: grey;
                                    display: block;
                                    height: 100px;
                                    overflow: hidden;">
                        <p class="article_content_text_val">
                            {$article.article_content_text}
                        </p>
                    </div>
                </div>
                </a>
                {/volist}

            </div>
            <div class="col-md-4">
                <div class="heading">
                    <img src="/static/index/image/mark.png" alt="">
                    <span>性病科普</span>
                    <a href="/list/3">
                        <span style="color: darkslategrey; font-size: 16px; float: right"> <b>MORE</b></span>
                    </a>
                </div>


                {volist name="articles3" id="article"}
                <a href="/details/{$article.article_id}">
                <div class="index_detail">
                    <div class="row">
                        <div class="col-md-7">
                                    <span style="float: left;
                                    font-size: 20px;
                                    padding: 8px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    text-overflow:ellipsis;
                                    width: 100%;
                                    ">
                                        {$article.article_name}
                                    </span>

                        </div>
                        <div class="col-md-5">
                            <span style="float: right; padding: 10px; color: grey">{$article.article_create_time|substr=0,7}</span>
                        </div>
                    </div>
                    <div class="row"
                         style="font-size: 14px;
                                    padding: 15px;
                                    color: grey;
                                    display: block;
                                    height: 100px;
                                    overflow: hidden;">
                        <p id="text" class="article_content_text_val">
                            {$article.article_content_text}
                        </p>
                    </div>
                </div>
                </a>
                {/volist}
            </div>
        </div>
    </div>
</div>

<br><br><br><br><br><br><br><br><br><br><br><br>
